Fix a flaky test while the compiler is changing
authorAlex Crichton <alex@alexcrichton.com>
Wed, 27 Aug 2014 00:21:45 +0000 (17:21 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 27 Aug 2014 00:21:45 +0000 (17:21 -0700)
tests/test_cargo_compile.rs

index e3f7f79ee2d679b79b2ca200193b8286fea61636..0eb6b69752107afffc6e48b95ea2ea084da93b3c 100644 (file)
@@ -100,7 +100,7 @@ test!(cargo_compile_with_invalid_code {
         execs()
         .with_status(101)
         .with_stderr(format!("\
-{filename}:1:1: 1:8 error: expected itemfound `invalid`
+{filename}:1:1: 1:8 error: expected item[..]found `invalid`
 {filename}:1 invalid rust code!
              ^~~~~~~
 Could not compile `foo`.